package com.winhxd.b2c.customer.dao;

import com.winhxd.b2c.common.domain.customer.condition.QueryPageConfigCondition;
import com.winhxd.b2c.common.domain.customer.model.CustomerPageConfig;

import java.util.List;

public interface CustomerPageConfigMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CustomerPageConfig record);

    int insertSelective(CustomerPageConfig record);

    CustomerPageConfig selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CustomerPageConfig record);

    int updateByPrimaryKeyWithBLOBs(CustomerPageConfig record);

    int updateByPrimaryKey(CustomerPageConfig record);

    List<CustomerPageConfig> selectPageList(QueryPageConfigCondition condition);

    List<CustomerPageConfig> selectStorePageList(QueryPageConfigCondition condition);

    int updateHomePage(CustomerPageConfig storePageConfig);

    CustomerPageConfig selectHomePageByStoreId(Long storeId);

}